Skip to main content

Applications of Differentiation

Differentiation is a powerful tool in mathematics, and it has many applications in real life.

Table of Contents

Linear Approximation

Linear approximation is a method of approximating a function near a certain point by using the tangent line at that point. Essentially, get a function, find the slope at some point , and pretend the function is a straight tangent line.

Given a function , the slope at that line is . Thus, the slope of the tangent line at is .

To find the equation of the tangent line, we use the point-slope form:

Using the point-slope form, our slope is and the point is . Thus, the equation of the tangent line is:

Known as linear approximation of the function near .

This is useful for approximating functions that are difficult to work with, as the tangent line is much simpler to work with.

For instance, consider the function .

Trying to do calculations with this function can be difficult, but we can approximate it near using the tangent line.

The derivative of can be found using the chain rule:

And at :

Thus, the equation of the tangent line is:

This equation can be used to approximate the function near . A visualization is shown below:

Example Application: Trigonometric Functions

Consider the function .

The derivative of is , and at , .

Thus, the equation of the tangent line is:

As such, near , can be approximated by .

This is useful especially in physics, where differential equations can be difficult to solve.

The small-angle approximation can also be derived from the Taylor series of :

For small values of , the higher-order terms can be ignored, and the function can be approximated by .

Modeling Motion

One of the most common applications of differentiation is in modeling motion. To take a very simple example, consider a ball moving along some trajectory.

The height of the ball at time can be modeled by .

With differentiation, we can find the velocity of the ball at any time by taking the derivative of with respect to .

Similarly, we can find the acceleration of the ball at any time by taking the derivative of the velocity function with respect to .

Integration can be used to do this in reverse, although it isn't covered yet.

Note the usage of the symbol to denote a different variable.

Finding Limits

Another application of differentiation is in finding limits.

Often, when we try to find the limit of a function at a certain point, plugging in the value results in an indeterminate form (e.g. ).

One way to solve this is by using L'Hôpital's rule, which involves differentiating the numerator and denominator separately.

To demonstrate this visually, consider the function , and let's find the limit as approaches .

The graph shows the numerator and denominator of the function as individual functions.

As approaches , the numerator approaches and the denominator approaches . Therefore, the fraction is indeterminate.

In differentiation, we calculate the slope at a point by using a small interval of . Likewise, here we can think of a point that's just a little bit () away from :

As shown in the graph, we have an interval of around . Since this is non-zero, there is a value here, which are marked by the blue and green vectors. As we decrease the interval, the value of the function approaches a certain value, and that is the limit of the function at .

The value of the numerator and denominator are calculated below:

And when we plug in :

Remember that the value of our limit is the limit of this ratio as approaches .

Thus, the limit is:

To generalize this, instead of using these functions, let's calculate the limit of as approaches . If the limit is indeterminate, that is, , we can use the same approach as above.

The numerator and denominators are calculated as:

As such, the limit is the ratio of the two derivatives:

This is known as L'Hôpital's rule, although the rule was mostly derived by Bernoulli.

Example Problem

Find the limit of as approaches .

Last time we found the limit of this function by utilizing the Squeeze theorem. This time, we can use L'Hôpital's rule.

Firstly, ensure that the limit is indeterminate:

Thus, the rule is applicable. Differentiating the numerator and denominator:

And plugging in :

Thus, the limit is .

In many problems, quantities are related to each other. For example, the volume of a sphere is related to its radius, and the rate at which the volume changes is related to the rate at which the radius changes. These are known as related rates problems.

To solve these problems, we can use differentiation to find the rate at which one quantity changes with respect to another.

Generally, in these problems, you are presented with a rate of change of one quantity and asked to find the rate of change of another quantity . is often a function of , so we can use the chain rule to find the rate of change of with respect to .

This is a bit abstract, so below are some examples to illustrate this.

Example Problem: Sphere Volume

Consider a sphere with radius . The volume of a sphere is given by the following formula:

If the radius of the sphere is increasing at a rate of , find the rate at which the volume of the sphere is changing when the radius is .

The rate is given by , and the rate of change of the radius is given by . We are given that . We can first create an expression for :

Notice that we treat as a function of , as the radius is changing with respect to time, so we use the chain rule. Next, we plug in the value of and :

Example Problem: Ladder Sliding Down a Wall

A ladder is long and is leaning against a wall. The bottom of the ladder is sliding away from the wall at a rate of .

  1. How fast is the top of the ladder sliding down the wall when the bottom of the ladder is away from the wall?
  2. How fast is the angle between the ladder and the wall changing at that time?

This is a classic related rates problem shown in many textbooks and courses. It's nice because it has a very clear real application, so it is easy to understand for students.

The ladder is a right-angled triangle, with the wall forming one side, the ground forming the other side, and the ladder forming the hypotenuse.

We can set some variables:

  • is the distance from the bottom of the ladder to the wall.
  • is the distance from the top of the ladder to the ground.
  • is the length of the ladder.
  • We are given .
  1. Consider the triangle formed by the ladder, the wall, and the ground. By the Pythagorean theorem, we have:

    We are given that , and we can find when :

Mean Value Theorem

Imagine a function that is continuous over the closed interval , but is differentiable over the open interval . So, at exactly and , no derivative exists but there is still a point there.

What the mean value theorem tells us is that at some point between and , the slope at that point is equal to the average slope over the whole interval.

Formally it is written like this:

Where is some point between and .

Note: when the mean-value theorem does not apply, it doesn't mean that it's necessarily false. It just means that it's uncertain.

Proof

The proof of the mean value theorem involves these steps:

  1. We find the average slope of the function over the interval .
  2. We create a new function , where is the average slope.
  3. Using Rolle's theorem, we find a point where the slope of is .
  4. Then we show that the slope of at that point is equal to the average slope.

Taking the expression above (which is the average slope of the function), we get the slope of a line that intersects and .

Let's define a new function , where is a constant. Given that is continuous and differentiable, is also continuous and differentiable. We choose such that :

Solving for gives:

According to Rolle's theorem, there must be a point on the graph where it is flat (horizontal), that is, .

Based on the definition of :

Example Problem

Consider . Let be the value that satisfies the MVT for over the interval . What is the value of ?

To solve this, we first need to find the average slope of over the interval :

According to the MVT, there must be a point in the interval where the slope of is equal to the average slope. Therefore, . We can find by differentiating :

Setting :

Therefore, .

Example Application: Speed Limits

Consider a car that travels from point to point in an hour, where the distance is .

Imagine the speed limit is . You would think that the car's velocity must be measured throughout the journey to ensure that it doesn't exceed the speed limit. Instead, you can just use the average velocity to determine if the car has exceeded the speed limit.

To do this, you can use the mean value theorem. The average velocity is:

We don't need to know the exact position/velocity/etc of the car at all times, because using the MVT, we can determine that the car must have exceeded the speed limit at some point.

Thus, the car must have exceeded the speed limit at some point between and , and the driver can receive a ticket.

Extreme Value Theorem

Just like the mean value theorem, the extreme value theorem is another important theorem helping us understand the behavior of functions. While these theorems can sound like common sense, it's important to be able to rigorously prove them such that we are absolutely certain they are true. Imagine receiving a speed ticket because of a theorem that isn't actually true!

The extreme value theorem states that if a function is continuous over a closed interval , then there must be a maximum and minimum value of over that interval.

This means that if you have a continuous function over a closed interval, you can be certain that there is a point where the function reaches its maximum and minimum values.

Formally, the theorem states:

Continuity

The key to the extreme value theorem is that the function must be continuous over the interval.

For a function that isn't continuous, the theorem doesn't apply.

Functions Discontinuous at Midpoints

Consider a function like this:

Because of the discontinuities at and , the function is defined to be not continuous over the interval .

While approaches , the maximum value cannot be because there's no point where the function is .

Similarly, the minimum value cannot be because there's no point where the function is .

Therefore, this function does not have a maximum or minimum value over the interval .

Functions Discontinuous at Endpoints

Now consider a function that is continuous over the interval, but not at the endpoints:

The function is continuous over the interval , but crucially, not over .

The maximum would be and the minimum would be , but applying the same logic as above, the function does not have a maximum or minimum value over the interval .

As such, as shown by the two contradictory examples, to apply the extreme value theorem, the function must be continuous over the closed interval .

Concavity and Inflection Points

Concavity is a property of a function that describes how the function is curving.

If the function is curving upwards, it is concave up. If the function is curving downwards, it is concave down.

The easiest example of this is a parabola. A parabola like is concave up at , while a parabola like is concave down at .

To find the concavity of a function, we can use the second derivative;

  • If , the function is concave up.
  • If , the function is concave down.

Inflection Points

Inflection points are points on a function where the concavity changes.

For example, consider the function :

Notice how, graphically, the function alternates between being concave up and concave down. When , the function is concave up, and when , the function is concave down.

The points where the concavity changes are the inflection points. And in this case, the inflection points are when .

To identify inflection points mathematically, we can use the second derivative. Specifically, the inflection points are where the second derivative is .

For the function , the second derivative is:

Setting this equal to gives:

Critical Points

Critical points are points on a function where the derivative is either or undefined.

These points are important because they can help us determine the maximum and minimum values of a function.

Imagine the maximum point of a function. To get there, the function must increase until it's at that point, and then decrease. At the maximum point, the derivative is because the function is not increasing or decreasing. This can be visually seen as the curve being "flat" at that point.

For example, take this parabola:

Notice how at the minimum point, the curve is flat, and the derivative is .

In other words, at the maximum and minimum points, the derivative is . However, this is not necessarily true the other way around. For instance, the function has a critical point at , but it is not a maximum or minimum point:

Local and Global Extrema

It's important to recognize the distinction between local and global extrema.

Global extrema apply to the entire function, while local extrema apply to a specific region of the function.

For example, consider the function :

First identify the global extrema. In this case, notice that the function goes down infinitely to the left, and up infinitely to the right. Thus, there is no global minimum or maximum, because for every point, there is always a point further down or up.

However, if we constrain the function to a specific region, we can find local extrema.

For example, consider the region :

Now there's clearly a minimum and maximum point within this region at and respectively.

Identifying Critical Points

To find the critical points of a function, we need to find where the derivative is or undefined.

For a function , the critical points are the solutions to .

Consider the same function .

The derivative of is:

Setting this equal to , we get:

Thus, the critical points of the function are and .

To determine if these are maximum or minimum points, we can use the second derivative.

Recall that the second derivative tells us the concavity of the function, i.e. how the function is curving.

If the second derivative is positive, the function is concave up, and the point is a minimum. Likewise, if the second derivative is negative, the function is concave down, and the point is a maximum.

If, however, the second derivative is , the test is inconclusive.

For the function , the second derivative is:

  • At , the second derivative is , so the function is concave down, and is a maximum point.
  • At , the second derivative is , so the function is concave up, and is a minimum point.

Thus, the function has a maximum point at and a minimum point at .

Identifying Increasing and Decreasing Intervals

The derivative of a function tells us the slope of the function at any point.

If the derivative is positive, the function is increasing. If the derivative is negative, the function is decreasing.

As such, if the derivative is positive over an interval, the function is increasing over that interval, and vice versa.

For example, consider the function :

To find the increasing and decreasing intervals of the function, we need to find where the derivative is positive and negative.

The derivative of is:

In an increasing interval, the derivative is positive:

To solve an inequality like this, take the advantage of the fact that the equality has one side being . This can be interpreted as the fact that is positive.

Since the left side is a product of two terms, the product is positive when both terms are positive or both terms are negative.

As such, either and , or and .

For the first case:

And for the second case:

Thus, the increasing intervals are and .

In a decreasing interval, the derivative is negative:

This inequality can be interpreted as the product of two terms being negative, meaning that one term is positive and the other is negative.

So, either and , or and .

  • The first case, and , gives us and . Thus, the decreasing interval is .
  • The second case, and , gives us and . The two sets of values are disjoint, so there is no decreasing interval in this case.

Thus, the decreasing interval is .

In conclusion, the increasing intervals are and , while the decreasing interval is .

Using Critical Points

Critical points can also be used to determine increasing and decreasing intervals.

Recall that critical points are points where the derivative is or undefined.

If a point is a maximum, the function is decreasing before and after the point, and vice versa for a minimum. We can use this to determine increasing and decreasing intervals.

Let's consider the same function .

Solving the derivative gives us and . These are the critical points of the function.

To find the minimum and maximum points, we can use the second derivative.

The second derivative of is:

At , the second derivative is , so the test is inconclusive.

At , the second derivative is . Since the second derivative is positive, the function is concave up, and is a minimum point.

This means that the function is decreasing before and increasing after .

At inconclusive points, the curve "flips" from increasing to decreasing or vice versa. So if the function is increasing at , it must be decreasing at .

Finding Global Extrema using Candidate Tests

Global extrema are the maximum and minimum points of a function over a closed interval. It's not very different from finding local extrema, but it requires a bit more work.

We can take advantage of the extreme value theorem. If a function is continuous over a closed interval, it must have a maximum and minimum point.

For example, consider the function :

Recall that is only defined for , so the domain of the function is . For the purposes of this example, we'll consider the interval .

To find the global extrema of the function, we need to find the critical points of the function.

The derivative of is:

Setting this equal to gives us the critical points of the function:

Thus, the critical points of the function are and .

To determine if these are maximum or minimum points, we can use the second derivative.

The second derivative of is:

is not in the interval , so we can ignore it.

At , the second derivative is . Since the second derivative is negative, the function is concave down, and is a maximum point.

To find the global maximum and minimum points, we can make use of the extreme value theorem.

The function is continuous over the interval , so it must have a maximum and minimum point. The maximum point is at , and the minimum point is at the endpoints of the interval.

Thus, the global maximum point is at , and the global minimum points are at and .

What we've done here is known as the candidate test. We find the critical points of the function, and then test these points to determine if they are maximum or minimum points.

Absolute Extrema of the Entire Domain

If the function is continuous over the entire domain, we can find the absolute maximum and minimum points of the function.

For example, consider the function :

The function is continuous over the entire domain , so we can find the absolute maximum and minimum points.

As always, we start by finding the critical points of the function, which are the solutions to .

The function is not defined at , so we can ignore this value. The critical point of the function is then .

Next, we can use the second derivative to determine if this is a maximum or minimum point.

Since the second derivative is positive, the function is concave up, and is a minimum point.

Remember that this is a critical point, so to the left of this point, the function is increasing, and to the right, the function is increasing.

Since there's no other critical point, the function is increasing over the entire domain. As such, the absolute minimum point is at .

Optimization

Optimization refers to finding the maximum or minimum value of a function. This is a common problem in mathematics, and it has many real-world applications.

For example, consider a company that wants to maximize its profit. The company can use optimization to determine the best price to sell its products.

To solve an optimization problem, we need to follow these steps:

  1. Define the function to be optimized.
  2. Identify the constraints of the problem.
  3. Find the critical points of the function.
  4. Use the candidate test to determine the maximum or minimum points.

In other words, it combines everything we've learned so far.

Example Problem - Maximizing Profit

A company wants to maximize its profit. The company's revenue is given by , and its cost is given by , where is the number of units sold. Find the number of units the company should sell to maximize its profit.

To solve this problem, we need to find the profit function, which is the difference between the revenue and cost functions.

Next, we need to find the critical points of the profit function.

The derivative of is:

Setting this equal to gives us the critical point(s) of the function:

Thus, the critical point of the function is .

To determine if this is a maximum or minimum point, we can use the second derivative test.

The second derivative of is:

Since the second derivative is negative, the function is concave down, and is a maximum point.

Thus, the company should sell units to maximize its profit.

Using Properties of Parabolas

We've used calculus to solve this problem, but we can also use the properties of parabolas to solve it.

The critical point of a parabola is at its vertex. Since the parabola is concave down, the vertex is the maximum point of the parabola.

The vertex of a parabola is at , which can be derived in two ways:

  • By completing the square: The vertex is at , simply because of how function transformations work.
  • By using the derivative of the function, which is what we did above.

Example Problem - Area of a Rectangle

A rectangle has a perimeter of . Find the dimensions of the rectangle that maximize its area.

To solve this problem, we need to find the area of the rectangle as a function of its dimensions.

Let be the length of the rectangle and be the width of the rectangle. The perimeter of the rectangle is , so:

The area of the rectangle is:

Next, we need to find the critical points of the area function, and then identify if it's a maximum or minimum point.

Since the second derivative is negative, the function is concave down, and is a maximum point. Hence, the width of the rectangle that maximizes its area is , and the length is .

Summary

Differentiation is a powerful tool that allows us to find the slope of a function at any point. This is extremely useful when analyzing the behavior of functions, as well as applying them to real-world problems.